<template xmlns:v-on="http://www.w3.org/1999/xhtml">
	<div id="app" class="user">
		<component v-bind:is='whichComponents' keep-alive></component>
	</div>
</template>
<script>
	import {
		mapActions
	} from 'vuex'
	import systemmanageList from './systemmanageList.vue'
	import Addsystem from './Addsystem.vue'
	export default {
		data() {
			return {
				whichComponents: 'systemmanageList',
				componentsList: ['systemmanageList', ' Addsystem'],
			}
		},
		created: function() {

		},
		methods: {

			...mapActions([''])
		},
		components: {
			'systemmanageList': systemmanageList,
			'Addsystem': Addsystem,
		}
	}
</script>
<style scoped>
	.userNav {
		background-color: #FFFFFF;
		margin-left: 10px;
		margin-top: 10px;
		width: 100%;
		height: 45px;
		border-bottom: 1px solid #ccc;
		box-shadow: 0 3px 3px #ccc;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	
	.userNav>div:nth-child(1) {
		width: 520px;
		height: 25px;
		display: flex;
		margin-left: 35px;
		align-content: center;
	}
	
	.userNav>div:nth-child(1) img {
		width: 25px;
		height: 25px;
	}
	
	.userNav>div:nth-child(1) div {
		line-height: 25px;
		margin-left: 5px;
		padding: 0;
		color: #333;
		font-size: 14px;
	}
	
	.userNavT {
		width: 220px;
		display: flex;
		align-items: center;
	}
	
	.userNavT>div:nth-child(1) {
		display: flex;
	}
	
	.userNavT>div:nth-child(1) img {
		width: 20px;
		height: 20px;
		margin-top: 3px;
	}
	
	.userNavT>div:nth-child(1) div {
		line-height: 25px;
		margin-left: 5px;
		padding: 0;
		color: #333;
		font-size: 14px;
	}
	
	.userNavT>div:nth-child(2) {
		color: #888;
		font-size: 14px;
		cursor: pointer;
	}
	
	.user {
		position: relative;
	}
	
	a:hover {
		text-decoration: none;
	}
	
	#systemAdd {
		width: 112px;
		height: 32px;
		margin-left: 60px;
		background-color: #43DCE7;
		border-radius: 5px;
		margin-top: -4px;
	}
	
	#systemAdd a {
		display: inline-block;
		width: 112px;
		height: 32px;
		color: #FFFFFF;
		font-size: 14px;
		text-align: center;
		line-height: 32px;
	}
	
	#systemSeek {
		margin-right: 40px;
		position: relative;
	}
	
	#systemSeek input {
		width: 360px;
		height: 32px;
		border-radius: 5px;
	}
	
	#seek {
		width: 22px;
		height: 22px;
		position: absolute;
		right: 0px;
		top: 0px;
		left: 320px;
		bottom: 0;
		line-height: 32px;
	}
	
	#systemContent {
		margin-left: 10px;
		margin-top: 10px;
		background-color: #FFFFFF;
	}
	
	#systemTable {
		width: 100%;
		border: 1px solid #DDDDDD;
	}
	
	#systemTable tr th {
		height: 40px;
		width: 230px;
		text-align: center;
		line-height: 40px;
		color: #999999;
		font-size: 14px;
		border: 1px solid #DDDDDD;
	}
	
	#systemTable tr td {
		height: 56px;
		width: 230px;
		text-align: center;
		line-height: 56px;
		color: #333333;
		font-size: 14px;
		border: 1px solid #DDDDDD;
	}
	
	#Pagination {
		text-align: center;
		margin-top: 50px;
	}
	
	#alter {
		width: 400px;
		height: 200px;
		background-color: red;
		text-align: center;
		line-height: 200px;
		border-radius: 5px;
		margin: auto auto;
		position: relative;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		transform: 2s;
	}
</style>